package kafka.client.producer;

/**
 * The encoder to encode the message to be sent.
 * @author zhaoxiang
 * 2015-07-10
 */
public interface MessageEncoder<T> {

	byte[] encode(T msg);
}
